package com.nd.qa.shareplate.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nd.qa.shareplate.IDao.InterfaceEnvironmentMapper;
import com.nd.qa.shareplate.model.InterfaceEnvironment;
import com.nd.qa.shareplate.service.InterfaceEnvironmentService;

@Service("com.nd.qa.shareplate.service.InterfaceEnvironmentService")
public class InterfaceEnvironmentServiceImpl implements InterfaceEnvironmentService{

	@Autowired
	private InterfaceEnvironmentMapper environmentMapper;
	
	@Override
	public List<InterfaceEnvironment> queryEnvironmentsById(InterfaceEnvironment interfaceEnvironment) {
		return environmentMapper.queryEnvironmentsById(interfaceEnvironment);
	}

	@Override
	public InterfaceEnvironment queryEnvironmentById(InterfaceEnvironment interfaceEnvironment) {
		return environmentMapper.queryEnvironmentById(interfaceEnvironment);
	}

}
